Q3MacDrawContext_GetGXViewPort
You can use theQ3MacDrawContext_GetGXViewPort
function to get the QuickDraw GX view port associated with a Macintosh draw context.
TQ3Status Q3MacDrawContext_GetGXViewPort ( TQ3DrawContextObject drawContext, gxViewPort *viewPort);
drawContext
- A Macintosh draw context object.
viewPort
- On exit, the QuickDraw GX view port currently associated with the specified draw context.
DESCRIPTION
TheQ3MacDrawContext_GetGXViewPort
function returns, in theviewPort
parameter, the QuickDraw GX view port currently associated with the draw context specified by thedrawContext
parameter. If no view port is associated with the draw context or the two-dimensional graphics library is not set tokQ3Mac2DLibraryQuickDrawGX
,Q3MacDrawContext_GetGXViewPort
returnsNULL
in theviewPort
parameter.